package org.zsk.cs.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.zsk.fastdev.assign.Assign;
import org.zsk.fastdev.assign.impl.AssignByAnnotation;
import org.zsk.fastdev.assign.impl.AssignByStream;

/**
 * <p>
 *     自定义工具类
 * </p>
 *
 * @author zsk
 * @version 1.0
 * Created on 2020/3/30
 */
@Configuration
public class CustomerUtilConfig {

    /**
     * 赋值工具类
     * @return 根据注解赋值工具实例
     */
    @Bean
    public Assign initAssign(){
        return AssignByStream.getInstance();
    }
}
